<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      woff2-1.0.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;10.&nbsp;Graphics and Font Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="sassc.html" title="sassc-3.6.1">Prev</a>
          <p>
            sassc-3.6.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="genutils.html" title=
          "General Utilities">Next</a>
          <p>
            General Utilities
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="woff2" name="woff2"></a>woff2-1.0.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to WOFF2
        </h2>
        <p>
          <span class="application">WOFF2</span> is a library for converting
          fonts from the TTF format to the WOFF 2.0 format. It also allows
          decompression from WOFF 2.0 to TTF. The WOFF 2.0 format uses the
          Brotli compression algorithm to compress fonts suitable for
          downloading in CSS @font-face rules.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/google/woff2/archive/v1.0.2/woff2-1.0.2.tar.gz">
                https://github.com/google/woff2/archive/v1.0.2/woff2-1.0.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 793c8844845351cb80730a74937e411b
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 39 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 1.6 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          WOFF2 Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="brotli.html" title=
          "brotli-1.0.7">Brotli-1.0.7</a> and <a class="xref" href=
          "cmake.html" title="CMake-3.17.0">CMake-3.17.0</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/woff2">http://wiki.linuxfromscratch.org/blfs/wiki/woff2</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of WOFF2
        </h2>
        <p>
          Install <span class="application">WOFF2</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir out                           &amp;&amp;
cd    out                           &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release .. &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libwoff2common.so, libwoff2dec.so and
              libwoff2enc.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/include/woff2</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libwoff2common" name=
                    "libwoff2common"></a><span class="term"><code class=
                    "filename">libwoff2common.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides shared data used by the libwoff2dec and
                    libwoff2enc libraries.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libwoff2dec" name="libwoff2dec"></a><span class=
                    "term"><code class=
                    "filename">libwoff2dec.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the WOFF2 decoder library.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libwoff2enc" name="libwoff2enc"></a><span class=
                    "term"><code class=
                    "filename">libwoff2enc.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the WOFF2 encoder library.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 14:12:55 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="sassc.html" title="sassc-3.6.1">Prev</a>
          <p>
            sassc-3.6.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="genutils.html" title=
          "General Utilities">Next</a>
          <p>
            General Utilities
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
